package com.xqboss.apps.dto.user;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.DecimalMin;
import javax.validation.constraints.Min;
import java.math.BigDecimal;

@Data
@ApiModel
public class CalcWithdrawFeeDto {
    @ApiModelProperty("提现金额")
    @DecimalMin(value = "0", message = "提现金额错误")
    private BigDecimal amount;
}
